/**
 * 
 */
package com.zhiteng.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

import com.fasterxml.jackson.annotation.JsonInclude;

/**  
* <p>Title: CourseNode.java</p>  
* <p>Description: 课程表中的单元格实体</p>  
* @author dragon  
* @date 2018年11月8日  
* @version 1.0  
*/
@Table(name="tb_course_node")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class CourseNode implements Serializable{
	@Id
	private String id;   //ID
	private String school_id;	//学校ID
	@Column(name="school_name")
	private String schoolName;	//学校名称
	private String course_table_id; //	所属班级课程表的id
	private Date course_date;	//上课日期
	
	private String teacher_name;	//任课老师姓名
	private String course_name;	//课程名称
	private String address;	//上课地点
	
	private String grade_name;	//任课班级的年级名称
	private String class_name;	//任课班级名称
	private String year_name;	//学年名称
	private String term_name;	//学期名称
	
	private String start;	//开始上课时间(如09:20)
	private String end;	//该节课结束时间
	
	private String week;		//上课星期（1：周一 2:周二 3：周三 4：周四 5：周五 6：周六 7：周日）
	private Integer course_num;	//节次(第几节课)
	private Integer week_type;	//单双周（1：每周 2：单周 3：双周）
	
	private String period;	//周次(课程开始至结束的周次)
	private String teacher_id;	//教师id
	
	private Integer type;	//1：调课    2：代课
	private Long bill_id;	//	调课单/代课单的id
	
	//private String year_id;	//学年ID
	//private String term_id;	//学期ID
	//private String classid;	//任课班级ID
	
	
	public String getId() {
		return id;
	}
	public Long getBill_id() {
		return bill_id;
	}
	public void setBill_id(Long bill_id) {
		this.bill_id = bill_id;
	}
	public Date getCourse_date() {
		return course_date;
	}
	public void setCourse_date(Date course_date) {
		this.course_date = course_date;
	}
	public String getStart() {
		return start;
	}
	public void setStart(String start) {
		this.start = start;
	}
	public String getEnd() {
		return end;
	}
	public void setEnd(String end) {
		this.end = end;
	}
	public String getTeacher_id() {
		return teacher_id;
	}
	public void setTeacher_id(String teacher_id) {
		this.teacher_id = teacher_id;
	}
	public void setId(String id) {
		this.id = id;
	}
	
	public String getSchool_id() {
		return school_id;
	}
	public void setSchool_id(String school_id) {
		this.school_id = school_id;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public String getCourse_table_id() {
		return course_table_id;
	}
	public void setCourse_table_id(String course_table_id) {
		this.course_table_id = course_table_id;
	}
	public String getTeacher_name() {
		return teacher_name;
	}
	public void setTeacher_name(String teacher_name) {
		this.teacher_name = teacher_name;
	}
	public String getCourse_name() {
		return course_name;
	}
	public void setCourse_name(String course_name) {
		this.course_name = course_name;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getGrade_name() {
		return grade_name;
	}
	public void setGrade_name(String grade_name) {
		this.grade_name = grade_name;
	}
	public String getClass_name() {
		return class_name;
	}
	public void setClass_name(String class_name) {
		this.class_name = class_name;
	}
	public String getYear_name() {
		return year_name;
	}
	public void setYear_name(String year_name) {
		this.year_name = year_name;
	}
	public String getTerm_name() {
		return term_name;
	}
	public void setTerm_name(String term_name) {
		this.term_name = term_name;
	}
	
	public Integer getCourse_num() {
		return course_num;
	}
	public void setCourse_num(Integer course_num) {
		this.course_num = course_num;
	}
	public Integer getWeek_type() {
		return week_type;
	}
	public void setWeek_type(Integer week_type) {
		this.week_type = week_type;
	}
	public String getPeriod() {
		return period;
	}
	public void setPeriod(String period) {
		this.period = period;
	}
	
	public String getSchoolName() {
		return schoolName;
	}
	public void setSchoolName(String schoolName) {
		this.schoolName = schoolName;
	}
	
	public String getWeek() {
		return week;
	}
	public void setWeek(String week) {
		this.week = week;
	}
	
}























